$(function () {
   obj.init();
});
var obj = new function () {
    'use strict';
    return {
        form:null,
        init:function () {
            var height = $(document.body).outerHeight(true) - 36 -50;
            $('.dataDiv').each(function () {
                $(this).attr('style','height:'+height+'px;');
            });
            this.listener();
        },
        listener:function () {
            var $this = this;
            $(window).resize(function () {          //当浏览器大小变化时
                var height = $(document.body).outerHeight(true) - 36 -50;
                $('.dataDiv').each(function () {
                    $(this).attr('style','height:'+height+'px;');
                });
            });
        },
        funObj:function () {
            var $this = this;
            return {

            }
        }
    }
};